package com.mingke.auth.controller;


import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author mingke
 * @function 登陆
 * @date 2021/12/14
 */
@RestController
@RequestMapping("/auth")
public class LoginController {

    @GetMapping("login")
    public String login(@RequestParam String username, String password) {
        System.out.println("username: "+username+"--password: "+password);
        return "Success";
    }
}
